
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title></title>
		<!-- 全局css引入 必须 -->
		<link href="<%=basePath%>/style/style.css" rel="stylesheet" type="text/css">
		<link href="style/global.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="<%=basePath%>/js/global.js"></script>
	</head>
	<body>
		<div class="rightCon" align="center">
			<div class="rightTitle2">
				<h3>
					<s:property value="nav" escape="false" />
				</h3>
			</div>
			<table class="formTable">
				<colgroup>
					<col class="formLabel" align="left" width="25%">
					<col align="left" />
					<col class="formLabel" align="left" />
					<col align="left" />
				</colgroup>
				<tr>
					<td>
						所属部门：
					</td>
					<td colspan="3">
						<s:textfield name="map.deptname" id='deptname' readonly="true" size="40" />
					</td>
				</tr>
				<tr>
					<td>
						用户账号：
						<s:hidden name="map.id" id="map.id" disabled="true" />
					</td>
					<td>
						<s:textfield name="map.ygzh" id="" readonly="true"></s:textfield>
					</td>
					<td>
						用户姓名：
						<!-- ygxm -->
					</td>
					<td>
						<s:textfield name="map.ygxm" id="map.ygxm" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						警种：
						<!-- jzhong -->
					</td>
					<td>
						<s:select list="zdsMap.JZ" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.jzhong" id="jzhong" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
					<td>
						警衔：
						<!-- jxian -->
					</td>
					<td>
						<s:select list="zdsMap.JX" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.jxian" id="jxian" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
				</tr>
				<tr>
					<td>
						职务：
						<!-- zhiwu -->
					</td>
					<td>
						<s:select list="zdsMap.ZW" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.zhiwu" id="zhiwu" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
					<td>
						专业：
					</td>
					<td>
						<s:select list="zdsMap.ZHUANYE" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.zy" id="zy" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
				</tr>
				<tr>
					<td>
						排序：
						<!-- ygpx -->
					</td>
					<td>
						<s:textfield readonly="true" name="map.ygpx" id="" readonly="true"></s:textfield>
					</td>
					<td>
						人员状态：
					</td>
					<td>
						<s:select list="zdsMap.RYZT" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.ryzt" id="ryzt" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
				</tr>
				<tr>
					<td>
						身份证：
					</td>
					<td colspan=3>
						<s:textfield name="map.ygsfz" id="" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						工作时间：
						<!-- gzsj -->
					</td>
					<td>
						<input type="text" name="map.gzsj" value="${map.gzsj}" size="8" readonly="true">
					</td>
					<td>
						本单位工作时间：
					</td>
					<td>
						<input type="text" name="map.bdwgzsj" value="${map.bdwgzsj}" size="8" readonly="true">
					</td>
				</tr>
				<tr>
					<td>
						固定电话：
						<!-- gddh -->
					</td>
					<td>
						<s:textfield name="map.gddh" id="" readonly="true"></s:textfield>
					</td>
					<td>
						手机号码：
						<!-- sjhm -->
					</td>
					<td>
						<s:textfield name="map.sjhm" id="" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						最终学历：
					</td>
					<td>
						<s:select list="zdsMap.XL" listKey="key" listValue="value" headerKey="" headerValue="请选择" name="map.zzxl" id="zzxl" cssStyle="width:135px;" cssClass="required" disabled="true" />
					</td>
					<td>
						毕业学校：
					</td>
					<td>
						<s:textfield name="map.byyx" id="" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						居住所在地：
						<!-- jzdz_sheng -->
					</td>
					<td colspan="3">
						<span> <s:select list="zdsMap2.SHENG" listKey="key" listValue="value" headerKey="" headerValue="请选择省" name="map.jzdz_sheng" id="jzdz_sheng" cssStyle="width:135px;" cssClass="required" onchange="selShi(this.value,'jzdz_shi','jzdz_qu')" disabled="true" /> </span>
						<span><s:select list="shiList" listKey="text" listValue="value" headerKey="" headerValue="请选择市" name="map.jzdz_shi" id="jzdz_shi" cssStyle="width:135px;" cssClass="required" onchange="selQu(this.value,'jzdz_qu')" disabled="true" /> </span>
						<span><s:select list="quList" listKey="text" listValue="value" headerKey="" headerValue="请选择区" name="map.jzdz_qu" id="jzdz_qu" cssStyle="width:135px;" cssClass="required" disabled="true" /> </span>
					</td>
				</tr>
				<tr>
					<td>
						现居地址：
					</td>
					<td colspan="3">
						<s:textfield name="map.jzdz_xxdz" id="" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						户口所在地：
					</td>
					<td colspan=3>
						<span><s:select list="zdsMap2.SHENG" listKey="key" listValue="value" headerKey="" headerValue="请选择省" name="map.hu_sheng" id="hu_sheng" cssStyle="width:135px;" cssClass="required" onchange="selShi(this.value,'hu_shi','hu_qu')" disabled="true" /> </span>
						<span><s:select list="shiList2" listKey="text" listValue="value" headerKey="" headerValue="请选择市" name="map.hu_shi" id="hu_shi" cssStyle="width:135px;" cssClass="required" onchange="selQu(this.value,'hu_qu')" disabled="true" /> </span>
						<span><s:select list="quList2" listKey="text" listValue="value" headerKey="" headerValue="请选择区" name="map.hu_qu" id="hu_qu" cssStyle="width:135px;" cssClass="required" disabled="true" /> </span>
					</td>
				</tr>
				<tr>
					<td>
						详细门牌号：
					</td>
					<td colspan=3>
						<s:textfield name="map.hu_xxdz" id="" readonly="true"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						备注：
					</td>
					<td colspan=3>
						<s:textfield name="map.bz1" id="" size="60" readonly="true"></s:textfield>
					</td>
				</tr>
			</table>
	</body>
	<script type="text/javascript">
var el = document.getElementsByTagName("select");
var num = el.length;
for (var i = 0; i < num; i++) {
	if (el[i].disabled = "disabled") {
		el[i].disabled = "";
		var id = el[i].id;
		var value = el[i].value;
		var text = el[i].options[el[i].selectedIndex].innerHTML;
		var op = document.getElementById(id);
		op.innerHTML = "";
		op.options[op.length] = new Option(text, value);
	}
}	
</script>
</html>